import { get, post } from './http'

export const login = (params) => {
  let url = '/authorizations'
  return post(url, params)
}

export const articleList = params => {
  let url = '/mp/articles'
  return get(url, params)
}